package com.swt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.swt.domain.Goods;


import java.util.List;

/**
* @author 苏
* @description 针对表【okayapi_goods(商品表)】的数据库操作Service
* @createDate 2022-05-16 09:40:37
*/
public interface GoodsService  {

    List<Goods> selectAllGoods();
    int delectGoods (String id);
    int updateGoods (Goods goods);
    int inserGoods(Goods goods );
    Goods selectbyGoodid(String id);
    Page<Goods> pageGoods(Integer page, Integer start,Goods goods);

}
